/**
 * CS307 Team 11 Spring 2011
 * @author Kevin Barlow
 * @author David Barnes
 * @author Max Cohen
 * @author Yoongu Kang
 * @author Matt Lathrop
 * @author Thomas Maley
 * 
 * An Invitation is similar to a Reminder in many ways.  It stores a message, 
 * a time to send it, and a reference to an Event, but unlike a Reminder, an 
 * Invitation uses an algorithm in order to determine its recipients.  When 
 * an Invitation executes, it compares the time of its Event to the Free-time 
 * of Volunteers, and sends the Invitation message to anyone who has indicated 
 * Free-time on their Calendar at the time of the Event.
 * 
 */

package com.cs307.redcross.client;

import java.io.Serializable;
import java.util.Date;
import java.util.Vector;


public class Invitation extends Reminder implements Serializable {
	private static final long serialVersionUID = -4821958789788122762L;
	protected Vector<Event> eventList;
	protected Vector<Person> personList;
	
	/**
	 * creates a generic Invitation
	 */
	public Invitation(){
		this(null, null);
	}
	
	public Invitation(Vector<Event> eventList, Vector<Person> personList) {
		this.eventList = eventList;
		this.personList = personList;
	}
	
	protected void sendOutOnDate(Date sendDate) {
		
	}
	
	// getters *******************************************************

	public Vector<Event> getEventList() {
		return this.eventList;
	}
	
	public Vector<Person> getPersonList() {
		return this.personList;
	}
	
	// setters *******************************************************
	
	public void setEventList(Vector<Event> eventList) {
		this.eventList = eventList;
	}
	
	public void setPersonList(Vector<Person> personList) {
		this.personList = personList;
	}
	

}
